package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dto.WmMaterialDto;
import com.heima.model.wemedia.pojo.WmMaterial;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author TheCai
 * @version 1.0
 * @date 2021/5/27 15:53
 */
public interface WmMaterialService extends IService<WmMaterial> {
    ResponseResult uploadPicture(MultipartFile multipartFile);

    ResponseResult finLlist(WmMaterialDto dto);

    ResponseResult delPicture(Integer id);

    ResponseResult updateStatus(Integer id, Short status);
}
